<div id="top-panel">
    <div id="panel">
        <ul>
            <li><a href="<?php echo site_url("firmware/create"); ?>" class="report">Upload</a></li>            			
        </ul>
    </div>
</div>
<div id="wrapper">
	<div id="content">
		<div id="rightnow">
			<h3 class="reallynow">Firmware</h3>
			<?php if (isset($f) && count($f)): ?>
			<table width="100%">
				<thead>
					<tr>
						<th>File</th>	
						<th>Delete</th>					
					</tr>
				</thead>
				<tbody>
					<?php foreach($f as $v): ?>
					<tr>
						<td><div align="center"><a class="tool" href="<?php echo site_url("firmware/download/".$v); ?>"><?php echo $v; ?></a></div></td>
						<td><div align="center"><a class="tool" href="<?php echo site_url("firmware/delete/".$v); ?>">Delete</a></div></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>
			<?php else: ?>
				<p>No files</p>
			<?php endif; ?>
		</div>
	</div>
</div>